package com.yss.reportworld.domain.kettle;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 资源分类对象 rw_db_etl_resource_type
 *
 * @author yss
 * @date 2023-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rw_db_etl_resource_type")
public class EtlResourceType extends Model<EtlResourceType> {

    /**
     * 技术主键
     */
    @ExcelIgnore
    @TableId("ID")
    private String id;

    /**
     * 分类名称
     */
    @ExcelProperty(value = "分类名称")
    @TableField("NAME")
    private String name;

    /**
     * 父级id
     */
    @ExcelProperty(value = "父级id")
    @TableField("PARENT_ID")
    private String parentId;
}
